package util;

import java.io.File;

public class FileUtil {
	public static void mkDir(String dir) {
		File file = new File(dir);
		if (file.exists())
			return;

		mkDir(dir.substring(0, dir.lastIndexOf('/')));
		file.mkdir();
	}
}